package com.huazhen.itrip.biz.service.hotelfeature;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.huazhen.itrip.beans.pojo.ItripHotelFeature;
import com.huazhen.itrip.dao.hotelfeature.ItripHotelFeatureMapper;
@Service("ItripHotelFeatureService")
public class ItripHotelFeatureServiceImpl implements ItripHotelFeatureService {

	@Autowired
	private ItripHotelFeatureMapper itripHotelFeatureMapper;
	@Override
	public ItripHotelFeature getItripHotelFeatureById(Long id) throws Exception {
		// TODO Auto-generated method stub
		return itripHotelFeatureMapper.getItripHotelFeatureById(id);
	}

	@Override
	public List<ItripHotelFeature> getItripHotelFeatureListByMap(Map<String, Object> param) throws Exception {
		// TODO Auto-generated method stub
		return itripHotelFeatureMapper.getItripHotelFeatureListByMap(param);
	}

	@Override
	public Integer getItripHotelFeatureCountByMap(Map<String, Object> param) throws Exception {
		// TODO Auto-generated method stub
		return itripHotelFeatureMapper.getItripHotelFeatureCountByMap(param);
	}

	@Override
	public Integer insertItripHotelFeature(ItripHotelFeature itripHotelFeature) throws Exception {
		// TODO Auto-generated method stub
		return itripHotelFeatureMapper.insertItripHotelFeature(itripHotelFeature);
	}

	@Override
	public Integer updateItripHotelFeature(ItripHotelFeature itripHotelFeature) throws Exception {
		// TODO Auto-generated method stub
		return itripHotelFeatureMapper.updateItripHotelFeature(itripHotelFeature);
	}

	@Override
	public Integer deleteItripHotelFeatureById(Long id) throws Exception {
		// TODO Auto-generated method stub
		return itripHotelFeatureMapper.deleteItripHotelFeatureById(id);
	}

}
